#pragma once
#include "cvxImage.h"
#include "CalibData.h"
#include "cvxBoard.h"


// CNotifyStatic

class CNotifyStatic : public CStatic
{
	DECLARE_DYNAMIC(CNotifyStatic)

public:
	CNotifyStatic();
	virtual ~CNotifyStatic();

	//added
	void addImage(IplImage *rgbImage, CvxBoard *board);
	//in order to get extracted corner point, set point of the corner points
	void setPts(vector<Point2f> *pts){m_pPts = pts;}
	
protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	// store corner points
	CCalibData *m_pData;
	afx_msg void OnPaint();
protected:
	// image for painting in the picture control
	IplImage *m_image;
	// point to corner points
	vector<Point2f> *m_pPts;
//	vector<Point3f> *m_pPts3d;
	bool m_isDrawPredict;
};


